Cavern

 Cavern4D

 Cavernize

 Debug

 FilterInterfaces

 Filters

 Format

  Common

  Consts

  Container

  Decoders

  Environment

  FilterSet

  Renderers

  Transcoders

  Utilities

  AudioFormat

  AudioReader

  AudioTrackReader

  AudioWriter

  BitDepth

  EnhancedAC3Reader

  LAFMode

  LimitlessAudioFormatReader

  LimitlessAudioFormatWriter

  RIFFWaveReader

  RIFFWaveWriter

  Dispose()

  MaxLargeChunks

  RIFFWaveWriter(BinaryWriter, int, long, int, BitDepth)

  RIFFWaveWriter(BinaryWriter, ReferenceChannel[], long, int, BitDepth)

  RIFFWaveWriter(string, int, long, int, BitDepth)

  RIFFWaveWriter(string, ReferenceChannel[], long, int, BitDepth)

  Write(string, float[], int, int, BitDepth)

  Write(string, float[][], int, BitDepth)

  WriteBlock(float[], long, long)

  WriteBlock(float[][], long, long)

  WriteChunk(int, byte[])

  WriteForEachChannel(string, float[], int, int, BitDepth)

  WriteHeader()

  WriteOffset(string, float[][], int, BitDepth, int)

  SegmentedAudioReader

  SegmentedAudioWriter

 Helpers

 QuickEQ

 Remapping

 SpecialSources

 Spoofer

 Utilities

 Virtualizer

 Atmosphere

 AudioClip3D

 AudioListener3D

 AudioListener3DInspector

 AudioSource3D

 CavernizeRealtime

 Channel

 Clip

 Environments

 Jack

 Listener

 QualityModes

 Rolloffs

 SeatAdaptation

 Source

class RIFFWaveWriter

Minimal RIFF wave file writer.
VisibilityPublic
ExtendsAudioWriter

Public functions

void Dispose()Update 64-bit size information when needed before closing the file.
Constructor RIFFWaveWriter(BinaryWriter writer, int channelCount, long length, int sampleRate, BitDepth bits)Minimal RIFF Wave file writer.
Constructor RIFFWaveWriter(string path, int channelCount, long length, int sampleRate, BitDepth bits)Minimal RIFF Wave file writer.
Constructor RIFFWaveWriter(BinaryWriter writer, ReferenceChannel[] channels, long length, int sampleRate, BitDepth bits)WAVEFORMATEXTENSIBLE file writer.
Constructor RIFFWaveWriter(string path, ReferenceChannel[] channels, long length, int sampleRate, BitDepth bits)WAVEFORMATEXTENSIBLE file writer.
void WriteBlock(float[] samples, long from, long to)Write a block of samples.
void WriteBlock(float[][] samples, long from, long to)Write a block of samples.
void WriteChunk(int id, byte[] data)Append an extra chunk to the file.
void WriteHeader()Create the file header.

Public static functions

void Write(string path, float[] data, int channelCount, int sampleRate, BitDepth bits)Export an array of samples to an audio file.
void Write(string path, float[][] data, int sampleRate, BitDepth bits)Export an array of multichannel samples to an audio file.
void WriteForEachChannel(string path, float[] data, int channelCount, int sampleRate, BitDepth bits)Export an audio file to be played back channel after channel.
void WriteOffset(string path, float[][] data, int sampleRate, BitDepth bits, int period = -1)Export an audio file to be played back channel after channel.

Public properties

int MaxLargeChunksThe maximum number of additionally needed chunks that could surpass 4 GB.

See also